<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head><title>Class ProcessingInstruction</title></head>
<body>
<pre>[<a href="packages.html">All Packages</a>]  [<a href="Package-dom.html">This Package</a>]  [<a href="Class-Notation.html">Previous Class</a>]  [<a href="Class-Text.html">Next Class</a>]</pre>
<hr>
<h1>Class: <i>ProcessingInstruction</i></h1>

This class implements the PROCESSING_INSTRUCTION node type, a subclass
of <b>Node</b>.
<p>
<hr>

<h2><img src="../../images/method-index.gif" width=207 height=38 alt="Method Index"></h2>
<table>
  <tr>
    <td><a href="#getData"><b>getData</b></a></td>
    <td>Return the PI's data</td>
  </tr>
  <tr>
    <td><a href="#getTarget"><b>getTarget</b></a></td>
    <td>Return the PI's target</td>
  </tr>
  <tr>
    <td><a href="#setData"><b>setData</b></a></td>
    <td>Set the PI's data</td>
  </tr>
</table>

<hr>
<a name="methods"></a>
<h2><img src="../../images/methods.gif" width=151 height=38 alt="Methods"></h2>

<a name="getData"></a>
<h3><b>getData</b></h3>
<dl>
  <dd><dl>
    <dt> <b>Function:</b>
    <dd> Return data for a processing instruction<p>
    <dt> <b>Prototype:</b>
    <dd> <tt>DOMString getData()</tt><p>
    <dt> <b>Arguments:</b>
    <dd> None</dd><p>
    <dt> <b>Returns:</b>
    <dd> <tt>DOMString</tt> -- PI's data<p>
  </dl></dd>
</dl>

<a name="getTarget"><hr></a>
<h3><b>getTarget</b></h3>
<dl>
  <dd><dl>
    <dt> <b>Function:</b>
    <dd> Return a processing instruction's target value<p>
    <dt> <b>Prototype:</b>
    <dd> <tt>DOMString getTarget()</tt><p>
    <dt> <b>Arguments:</b>
    <dd> None</dd><p>
    <dt> <b>Returns:</b>
    <dd> <tt>DOMString</tt> -- target value<p>
  </dl></dd>
</dl>

<a name="setData"><hr></a>
<h3><b>setData</b></h3>
<dl>
  <dd><dl>
    <dt> <b>Function:</b>
    <dd> Set the data for a processing instruction<p>
    <dt> <b>Prototype:</b>
    <dd> <tt>void setData(DOMString data)</tt><p>
    <dt> <b>Arguments:</b>
    <dd> <tt>data</tt> -- PI's new data</dd><p>
    <dt> <b>Returns:</b>
    <dd> None</dd>
  </dl></dd>
</dl>

</body>
</html>
